<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="panel-group" id="accordion">
    <nav class="navbar navbar-default">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <!------button为实现响应式布局，如果在手机上查看，点击button就可以弹出菜单---->
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                        data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand">Brand</a><!---放logo的地方-->
            </div>
            <!-- 当浏览器小于某个值时，点击button图标显示导航条的内容（注意这里的id与button 的id对应）—>
           <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <!--具体菜单项-->
                <ul class="nav navbar-nav">
                    <li class="main_active"><a href="${pageContext.request.contextPath}/main">首页
                        <span class="sr-only">(current)</span></a>
                    </li><!--普通菜单-->
                    <li class="dropdown"><!--下拉菜单-->
                        <a class="dropdown-toggle" href="javascript:;" data-href="#" id="dropdownMenu1"
                           data-toggle="dropdown"
                           aria-haspopup="true"
                           aria-expanded="true">
                            技术博客 <span class="caret"></span></a>
                        <ul class="dropdown-menu dropdowncolor" aria-labelledby="dropdownMenu1">
                            <li><a href="javascript:;" data-href="#">JAVA基础</a></li>
                            <li><a href="javascript:;" data-href="#">Spring MVC</a></li>
                            <li><a href="javascript:;" data-href="#">数据库</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="javascript:;" data-href="#">更多...</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="javascript:;" data-href="#">友情链接</a></li>
                        </ul>
                    </li>
                    <li><a href="javascript:;" data-href="${pageContext.request.contextPath}/content/watch">内容查看</a>
                    </li>
                    <li><a href="javascript:;"
                           data-href="${pageContext.request.contextPath}/mailset/mailsetpage">邮箱设置</a></li>
                    <li><a href="javascript:;"
                           data-href="${pageContext.request.contextPath}/pdf/pdfPage?fileid=1">查看PDF文件</a>
                    </li>
                    <li><a href="javascript:;" data-href="${pageContext.request.contextPath}/userinfo/userinfopage">修改个人信息</a>
                    </li>
                    <li><a href="javascript:;"
                           data-href="${pageContext.request.contextPath}/jobset/jobsetpage">定时发送设置</a></li>
                </ul>
                <!--搜索表单-->
                <form class="navbar-form navbar-left" role="search">
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="Search">
                    </div>
                    <button type="submit" class="btn btn-default">搜索</button>
                </form>
                <!--导航栏右部，一般的登录 注册-->
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">系统设置</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                           aria-expanded="false">账户 <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="javascript:;"
                                   data-href="${pageContext.request.contextPath}/login/updatePassword">修改密码</a>
                            </li>
                            <li><a href="javascript:;" data-href="${pageContext.request.contextPath}/login/userInfo">个人信息</a>
                            </li>
                            <li><a href="${pageContext.request.contextPath}/login/userLogout">注销</a>
                            </li>
                            <%--<li><a href="javascript:;" data-href="#">Another action</a></li>--%>
                            <%--<li><a href="javascript:;" data-href="#">Something else here</a></li>--%>
                            <%--<li role="separator" class="divider"></li>--%>
                            <%--<li><a href="javascript:;" data-href="#">Separated link</a></li>--%>
                        </ul>
                    </li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>
</div>